package br.senai.modelo.impl;

import java.util.List;

import br.senai.entidade.Pedido;
import br.senai.modelo.PedidoDAO;

public class PedidoDAOImpl extends BaseDAOImpl implements PedidoDAO {

	@SuppressWarnings("unchecked")
	@Override
	public List<Pedido> getLista() {
		return super.entityManager.createNamedQuery("allPedidos").getResultList();
	}
}
